-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add PhyloPic base R legend #99
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thanks @LewisAJones! I noticed that the location of the phylopics seems a little off, especially when the legend is on the left side of the plot. I also made some suggestions that I think would make the function more user-friendly.
Thanks for the quick review and constructive feedback @willgearty! I’ve gone ahead and implemented your changes. Let me know if you see any final tweaks needed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick changes @LewisAJones! Everything looks good to me, great job!
This PR adds the function
add_phylopic_legend()
. It allows users to add a legend using PhyloPic silhouettes to base R. The function makes use oflegend()
andadd_phylopic_base()
to do most of the groundwork. I’ve tried to make the function as flexible as possible while also trying to maintain ease of use. Note, I’ve forced some arguments fromlegend()
to be ignored to avoid any undesirable behaviour.Closes #83.